package demo1;

/**
 * @Author: XXHH
 * @CreateTime: 2024-12-07
 */
public class Test {
    public static void main(String[] args) {
        final int a = 10; // 变成了 一个 常量
       // a = 100;
        //a = 10000;
        System.out.println(a);
    }
    public static void main1(String[] args) {
        Dog dog = new Dog("泰迪",3);
        System.out.println("==============");
        Cat cat = new Cat("小猫",4);
    }
}
